﻿@model AllCategoriesModel
@using Nop.Web.Models.Catalog;
@foreach( var category in Model.CategoryModels)
{
    <div class="product-group-wraper">
        <div class='homeLine'>
            <div class="group-title">
                <h2><a class="utm" href="@Url.RouteUrl("NewsItem", new {category.SeName})">
                        @category.Name</a></h2>
            </div>
        </div>
        <div class="product-category">
        @foreach (ProductOverviewModel productOverviewModel in category.Products)
        {
            <div class=" home-page-product-grid product-grid">
                <div class="item-box">
                    @Html.Partial("_ProductBox", productOverviewModel)
                </div>
            </div>
        }
        </div>
    </div>
}
